package com.sun.BmobDemo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

/**
 * Created by Thinkpad on 2016/2/22.
 */
public class terms extends Activity {
    private TextView tv;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.terms);
        tv = (TextView) findViewById(R.id.tv);
        tv.setMovementMethod(ScrollingMovementMethod.getInstance());
    }

    public void exit(View view){
        Intent intent = getIntent();
        intent.setClass(this,RegActivity.class);
        startActivity(intent);
        finish();
    }
}
